{% extends "album/Base.html" %}

{% block album %}

<div class="group">
    <a href="http://dribbble.com/account/pro" class="pro-motion">
        <strong>Go <span class="badge badge-pro">Pro</span></strong> <em>Add power features for just $20/year</em>
    </a>
    <div class="full">
        <h1 class="alt"><a href="#">小区印象</a> <span class="sep">/</span>添加相册</h1>
        <p>编辑您的个人属性，头像等.</p>
    </div>
</div>


<div id="main">
<ul class="tabs">
    <li id="profile_detail"><a href="/accounts/profile/">1.创建相册</a></li>
    <li id="profile_password"><a href="/accounts/password/change/">2.上传作品</a></li>
    <!--<li id="profile_pro"><a href="#">业主认证</a></li> -->
</ul>

<div class="session-form alt">
    <form accept-charset="UTF-8" action="/accounts/profile/" class="gen-form with-messages" id="edit_user_380541" method="post">
        <div style="margin:0;padding:0;display:inline">
            {% csrf_token %}
            <input name="utf8" value="✓" type="hidden">
            <input name="_method" value="put" type="hidden">
        </div>			

        <div class="form-field">
            <fieldset class="user_email"><label for="user_email">Email</label><input id="user_email" label="Email" name="email" size="30" value="{{request.user.email}}" type="text"></fieldset>

        </div>

        <div class="form-field">
            <fieldset class="user_location"><label for="user_location">住址</label><input id="user_location" name="addr" size="30" value="{{request.user.profile.location}}" type="text"></fieldset>
            <p class="message">填写您的大概住址，有助于增强邻里互信</p>
        </div>

        <div class="form-field form-field-bio">
            <fieldset class="user_bio"><label for="user_bio">签名</label><textarea class="bio" cols="40" id="user_bio" label="Bio" name="desc" rows="20">{{request.user.profile.desc}}</textarea><span class="counter">160</span></fieldset>
            <p class="message">随便写点啥吧，让我认出人群中唯一的你</p>
        </div>

        <div class="form-btns">
            <input class="form-sub" name="commit" value="保存设置" type="submit">
        </div>
    </form>	
</div>
</div>

<div class="secondary">
	<h3>温馨提示</h3>
	<p class="info">欢迎加入<strong>好邻居</strong> — 我们致力于建设智能高端社区,为您打造高品质的社区生活.</p>
	<p class="info">请如实的填写各项信息,这能帮助您在社区中建立比较好的信用，也便于我们更好的为您提供服务.</p>
    <p class="info">注册过程中提供的少量数据仅用于为您提供服务，未经您的授权我们绝不泄露给任何第三方组织和机构，具体可参考<a href="#">隐私条款</a> </p>
	<p class="copy">如果您有其他疑问,请参考 <a href="https://dribbble.com/site/faq">FAQ</a>.</p>
</div>


{% endblock %}
